package com.bjpowernode.crm.workbench.service.Impl;

import com.bjpowernode.crm.workbench.dao.ActivityRemarkDao;
import com.bjpowernode.crm.workbench.domain.ActivityRemark;
import com.bjpowernode.crm.workbench.service.ActivityRemarkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:ActivityRemarkserviceImpl
 * package:com.bjpowernode.crm.workbench.service.Impl
 * Description:
 *
 * @date: 2022-06-09 0:46
 * @author：lin
 */
@Service
public class ActivityRemarkServiceImpl implements ActivityRemarkService {

    @Autowired
    private ActivityRemarkDao remarkDao;

    @Override
    public List<ActivityRemark> searchActivityRemark(String id) {
        List<ActivityRemark> remarkList =remarkDao.searchActivityRemark(id);
        return remarkList;
    }

    @Override
    public int saveActivityRemark(ActivityRemark remark) {

        return remarkDao.saveActivityRemark(remark);
    }

    @Override
    public boolean updateActivityRemark(ActivityRemark remark) {
        return remarkDao.updateActivityRemark(remark);
    }

    @Override
    public boolean deleteActivityRemark(String id) {

        return remarkDao.deleteActivityRemark(id);
    }


}
